package com.richest.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.MerchantBusinessMapper;
import com.richest.api.service.IMerchantBusinessService;
import com.richest.bean.MerchantBusinessBean;

/**
 * 企业经营信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class MerchantBusinessServiceImpl implements IMerchantBusinessService {

	@Autowired
	private MerchantBusinessMapper mapper;

	@Override
	public Integer merchantBusinessUpdate(MerchantBusinessBean bean) {
		return mapper.merchantBusinessUpdate(bean);
	}

	@Override
	public MerchantBusinessBean merchantBusinessSelectOne(Long id) {
		return mapper.merchantBusinessSelectOne(id);
	}
}
